package com.leyou.dao;

import com.leyou.domain.db1entity.Couponandactivity;
import com.leyou.domain.db1entity.CouponandactivityExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CouponandactivityMapper {
    long countByExample(CouponandactivityExample example);

    int deleteByExample(CouponandactivityExample example);

    int deleteByPrimaryKey(String couponandactivitykey);

    int insert(Couponandactivity record);

    int insertSelective(Couponandactivity record);

    List<Couponandactivity> selectByExample(CouponandactivityExample example);

    Couponandactivity selectByPrimaryKey(String couponandactivitykey);

    int updateByExampleSelective(@Param("record") Couponandactivity record, @Param("example") CouponandactivityExample example);

    int updateByExample(@Param("record") Couponandactivity record, @Param("example") CouponandactivityExample example);

    int updateByPrimaryKeySelective(Couponandactivity record);

    int updateByPrimaryKey(Couponandactivity record);
}